COM AT^STWL test - Get / Set reminder state
COM V1.0	23.02.2004	T. Kleinmann	Started


##########################################################################################
#ToDo (S3): Clarify the combination of <index> and <fullname> - where is both needed?
##########################################################################################

from attglobals import *

##########################################################################################

COM Test command
AT^STWL=?
WAITFOR(1,'STWL: (0,1)')

##########################################################################################

COM Write command - Get wordlist without name

AT^STWL=0
WAIT FOR OK


##########################################################################################

COM Write command - Get wordlist with name

AT^STWL=0,'t9de.ldb'
WAIT FOR OK

##########################################################################################

COM Write command - Set wordlist without name

AT^STWL=1
WAIT FOR OK

##########################################################################################

COM Write command - Set wordlist with name

AT^STWL=1,'t9de.ldb'
WAIT FOR OK

##########################################################################################

COM Check URC ^STWL

MESSAGE('Please set a reminder/alarm clock event to be due in a few minutes.\n\
Press OK a few seconds before reminder is due!')

WAITFOR(1,'^STWL')

##########################################################################################